package com.maszy.db;

public class Constants extends ConfigurableConstants {
	static {
		init("Constants.properties");
	}
	/*
	 
	 dataSource.removeAbandoned = true;
	 dataSource.removeAbandonedTimeout = 300;
	dataSource.testOnBorrow = true ;
	dataSource.testOnReturn = true ;
	dataSource.testWhileIdle = true;
	dataSource.validationQuery = "select 1";
	dataSource.logAbandoned = true;
	dataSource.timeBetweenEvictionRunsMillis = 5000;
	dataSource.minEvictableIdleTimeMillis = 4000;
	 */

	//public final static String SERVER_PORT = getProperty("server.port", "8000");

	public final static String JDBC_DRIVER = getProperty("jdbc.driverClassName");

	public final static String JDBC_URL = getProperty("jdbc.url");

	public final static String JDBC_USERNAME = getProperty("jdbc.username");

	public final static String JDBC_PASSWORD = getProperty("jdbc.password");
	
	public final static String JDBC_URL1 = getProperty("jdbc.url1");

	public final static String JDBC_USERNAME1 = getProperty("jdbc.username1");

	public final static String JDBC_PASSWORD1= getProperty("jdbc.password1");

	public final static String DATASOURCE_INITIALSIZE = getProperty("dataSource.initialSize");

	public static final String DATASOURCE_MINIDLE = getProperty("dataSource.minIdle");

	public static final String DATASOURCE_MAXIDLE = getProperty("dataSource.maxIdle");

	public static final String DATASOURCE_MAXWAIT = getProperty("dataSource.maxWait");

	public static final String DATASOURCE_MAXACTIVE = getProperty("dataSource.maxActive");
	
	public static final String DATASOURCE_REMOVEABANDONED = getProperty("dataSource.removeAbandoned");
	
	public static final String DATASOURCE_REMOVEABANDONEDTIMEOUT = getProperty("dataSource.removeAbandonedTimeout");
	
	public static final String DATASOURCE_TESTONBORROW = getProperty("dataSource.testOnBorrow");
	
	public static final String DATASOURCE_TESTONRETURN = getProperty("dataSource.testOnReturn");
	
	public static final String DATASOURCE_TESTWHILEIDLE = getProperty("dataSource.testWhileIdle");
	
	public static final String DATASOURCE_VALIDATIONQUERY = getProperty("dataSource.validationQuery");
	
	public static final String DATASOURCE_LOGABANDONED = getProperty("dataSource.logAbandoned");
	
	public static final String DATASOURCE_TIMEBETWEENEVICTIONRUNSMILLIS = getProperty("dataSource.timeBetweenEvictionRunsMillis");
	
	public static final String DATASOURCE_MINEVICTABLEIDLETIMEMILLIS = getProperty("dataSource.minEvictableIdleTimeMillis");
}
